package com.tale.competition.common.constant;

/**
 * author: 蔡奇峰
 * date: 2020/4/29 22:50
 **/
public interface RabbitConstant {




    /**
     * 邮件队列
     */
    String EMAIL_QUEUE = "email";
    /**
     * 短信队列
     */
    String MESSAGE_QUEUE = "message";
    /**
     * 邮件队列路由键（*表示一个词,#表示零个或多个词）
     */
    String EMAIL_ROUTING_KEY = "email.key";
    /**
     * 短信队列路由键
     */
    String MESSAGE_ROUTING_KEY = "message.key";
    /**
     * 交换机
     */
//  String CONTROL_EXCHANGE = "amq.topic";
    String EMAIL_EXCHANGE = "email.exchange";

}
